/* 
 * File:   plansza.h
 * Author: Lala
 *
 * Created on 16 kwiecień 2011, 12:50
 */

#ifndef PLANSZA_H
#define	PLANSZA_H

#ifdef	__cplusplus
extern "C" {
#endif




#ifdef	__cplusplus
}
#endif

#endif	/* PLANSZA_H */


enum pionek { Pusty, Bialy, Czarny, BialaDamka, CzarnaDamka, Zbity };
struct XYstruct
{
		int x;
		int y;
};


struct poleStruct
{
		int lp;
		enum pionek typ;
		struct poleStruct *lewy;
		struct poleStruct *prawy;
		struct poleStruct *tlewy;
		struct poleStruct *tprawy;
};

void zeruj_plansze(struct poleStruct pole[]);
void plansza(struct poleStruct pole[]);